package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TSensitiveWord;
import com.learn.multDataSource.model.mysql.TSensitiveWordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TSensitiveWordMapper {
    int countByExample(TSensitiveWordExample example);

    int deleteByExample(TSensitiveWordExample example);

    int deleteByPrimaryKey(Integer wordId);

    int insert(TSensitiveWord record);

    int insertSelective(TSensitiveWord record);

    List<TSensitiveWord> selectByExample(TSensitiveWordExample example);

    TSensitiveWord selectByPrimaryKey(Integer wordId);

    int updateByExampleSelective(@Param("record") TSensitiveWord record, @Param("example") TSensitiveWordExample example);

    int updateByExample(@Param("record") TSensitiveWord record, @Param("example") TSensitiveWordExample example);

    int updateByPrimaryKeySelective(TSensitiveWord record);

    int updateByPrimaryKey(TSensitiveWord record);
}